package com.woniu51.api;

import com.woniu51.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "user-service")
public interface UserFeignClient {
    @RequestMapping("/feign/queryUserByUserAccountAndPassword")
    public User queryUserByUserAccountAndPassword(@RequestParam("userAccount") String userAccount,
                                                  @RequestParam("userPassword") String userPassword);
}
